package com.zoe.onelink.mybatis.autoconfigure;

import com.zoe.onelink.mybatis.autoconfigure.check.MybatisEnvironmentChecker;
import com.zoe.onelink.plugin.check.EnvironmentChecker;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-09-22
 */
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(EnvironmentChecker.class)
public class OnelinkMybatisPropertyCheckAutoConfiguration {

    @Bean
    public EnvironmentChecker mybatisPropertyChecker() {
        return new MybatisEnvironmentChecker();
    }

}
